package cn.edu.scau.cmi.wujiacheng.abstractFactory.factory;

import cn.edu.scau.cmi.wujiacheng.abstractFactory.domain.*;
import cn.edu.scau.cmi.wujiacheng.domain.Meat;

public class WensFactory extends AbstractFactory{
	@Override
	public Meat produce(String meatName) {
		if(meatName.equals("Pork")) return new WensPork();
		else if(meatName.equals("Chicken")) return new WensChicken();
		else if(meatName.equals("Beef")) return new WensBeef();
		return null;
	}
	
}
